<?php

/**
 * DAO层的操作接口
 * Interface I_DAO
 */
interface I_DAO {
    public static function getInstance($config);
    public function query($sql);
    public function getAll($sql);
    public function getRow($sql);
    public function getOne($sql);
    public function escapeOneString($data);
    public function escapeAllString($data);
    public function getInsertId();
    public function getAffectRows();
}